import request from "@/utils/request";

// 获取所有机场信息
export function airportsApi() {
  return request({
    url: "/airports",
    method: "get",
  });
}
// 获取卫星所有信息
export function satellitesDataApi() {
  return request({
    url: "/satellites/statistics",
    method: "get",
  });
}
// 获取航路
export function getWayPointsApi() {
  return request({
    url: "/routes",
    method: "get",
  });
}
// 获取区域数量
export function getAreaCountApi() {
  return request({
    url: "/areas/count",
    method: "get",
  });
}
// 获取机场数量
export function getAirportCountApi() {
  return request({
    url: "/airports/count",
    method: "get",
  });
}
// 获取航路数量
export function getRouteCountApi() {
  return request({
    url: "/routes/count",
    method: "get",
  });
}
// 获取Nanu报文
export function getSatellitesNanusApi() {
  return request({
    url: "/satellites/nanus",
    method: "get",
  });
}
